SavePageAsMetafile Method |
[Top] [Chapter] [Previous] [Next] |
Declaration bool SavePageAsMetafile(int PageNr, string : Filename, int Options, int BackgroundColor); Description Creates a EMF file from a certain page. Also see method GetPageAsMetafile.
Parameters: PageNr : The number of the page to be saved. The first is 0. Filename: The enhanced metafile (*.EMF) file to be created. Options: a bit field: 4: display a frame for the page margins 8: optimized for PDF export. We recommend to always set this bit! 16: also print selection marker 32: do not print watermarks 64: do not print header and footer 128: do not print images 256: print table grid lines. 512: Export embedded meta-files as bitmaps BackgroundColor: A background color as RGB value
Example:
Category |