PDFix SDK  6.5.0
PdfHtmlAlternate Struct Referenceabstract

PdfHtmlAlternate class. More...

Inheritance diagram for PdfHtmlAlternate:
PdfAlternate

Public Member Functions

virtual bool SaveResource (const wchar_t *resource_name, const wchar_t *path)=0
 Saves the resource content by name to specified location. More...
 
- Public Member Functions inherited from PdfAlternate
virtual PdfAlternateType GetSubtype ()=0
 Gets the subtype of the PDF alternate. More...
 
virtual int GetName (wchar_t *buffer, int len)=0
 Gets a buffer containing the name of an alternate, otherwise it returns 0. More...
 
virtual int GetDescription (wchar_t *buffer, int len)=0
 Gets a buffer containing the description of an alternate, otherwise it returns 0. More...
 
virtual int GetFileName (wchar_t *buffer, int len)=0
 Gets a buffer containing the file name of the main alternate file. More...
 
virtual bool SaveContent (const wchar_t *path)=0
 
virtual void Release ()=0
 Closes the PDF alternate and release any loaded content.
 

Detailed Description

Member Function Documentation

◆ SaveResource()

virtual bool PdfHtmlAlternate::SaveResource ( const wchar_t *  resource_name,
const wchar_t *  path 
)
pure virtual

Saves the resource content by name to specified location.

Parameters
pathPath where the file should be saved
reource_naemThe name of the resource
Returns
True if file was saved. False othervise.