PDFix SDK  7.2.0
Loading...
Searching...
No Matches
PdfHtmlAlternate Struct Referenceabstract

PdfHtmlAlternate class. More...

#include <pdfix.h>

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 () const =0
 Gets the subtype of the PDF alternate. More...
 
virtual int GetName (wchar_t *buffer, int len) const =0
 Gets a buffer containing the name of an alternate, otherwise it returns 0. More...
 
virtual int GetDescription (wchar_t *buffer, int len) const =0
 Gets a buffer containing the description of an alternate, otherwise it returns 0. More...
 
virtual int GetFileName (wchar_t *buffer, int len) const =0
 Gets a buffer containing the file name of the main alternate file. More...
 
virtual bool SaveContent (const wchar_t *path)=0
 
virtual int Release ()=0
 Closes the PDF alternate and release any loaded content. More...
 

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 otherwise.