Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

DynaPDFMBS.GetFTextHeightExAnsi(Width as Double, Align as Integer, aText as string) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.3 Yes Yes Yes Yes No
Function: The function measures the height of a formatted text block.
Notes: The text parameter is converted to ANSI.

See also GetFTextHeightEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetGlyphIndex(Index as UInt32) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.2 Yes Yes Yes Yes No
Function: The function returns the glyph index of the given code page or Unicode index.
Notes:
How Index must be defined depends on the code page with which the font was loaded. For example, if the font was loaded with a 8 bit code page, then indexes below 256 are treated as index into the code page table. Higher indexes are treated as Unicode value in this case. Note that all Unicode encoded glyphs of the font are accessible in this case, also if the font was loaded with a 8 bit code page!

At time of publication the function does not support CJK code pages which require a conversion to Unicode, e.g. cpCJK_Big5_Uni, cpCJK_EUC_JP_Uni, and so on.

If the function succeeds the return value is greater or equal zero. If the function fails the return value is a negative error code.

See also GetGlyphIndex function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetGlyphOutline(Index as UInt32) as DynaPDFGlyphOutlineMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 16.2 Yes Yes Yes Yes No
Function: The function returns the outline of a glyph of the active font.
Notes:
Note that not all glyphs have an outline. A space character, for example, has no outline and therefore the size can be zero. The function returns normalized outlines scaled to a font size of 1000 units.

Please see dynapdf_help.pdf and our example project on how to process the outline data.

See also GetGlyphOutline function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetGoToAction(index as Integer, Decompress as Boolean = false, ImageParseFlags as Integer = &h00000080) as DynaPDFGoToActionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Queries details for a GoToR action.
Notes:
Index is from 0 to GetActionCount-1.

If Decompress is true, all file specification containing compressed data are uncompressed.
And ImageParseFlags defines how GetImageObj is called internally to decompress image. Default is to only get image info, but you can pass other values to actually get image data.

See also GetGoToAction function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetGoToRAction(index as Integer, Decompress as Boolean = false, ImageParseFlags as Integer = &h00000080) as DynaPDFGoToActionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Queries details for a GoTo action.
Notes:
Index is from 0 to GetActionCount-1.

If Decompress is true, all file specification containing compressed data are uncompressed.
And ImageParseFlags defines how GetImageObj is called internally to decompress image. Default is to only get image info, but you can pass other values to actually get image data.

See also GetGoToRAction function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetGStateFlags as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the current graphics state flags.

See also GetGStateFlags function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetHideAction(index as Integer) as DynaPDFHideActionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Queries details for a hide action.
Notes: Index is from 0 to GetActionCount-1.

See also GetHideAction function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetIconColor as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the icon color used for newly created text annotations.

See also GetIconColor function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageBuffer as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.6 Yes Yes Yes Yes No
Function: Returns the image buffer.

See also GetImageBuffer function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageBufferMemory as memoryblock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: Returns the image buffer.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageCount(File as folderitem) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the number of images contained in a multi page image.

See also:

See also GetImageCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageCount(Path as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: The function returns the number of images contained in a multi page image.

See also:

See also GetImageCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageCountEx(Buffer as Memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.0 Yes Yes Yes Yes No
Function: The function determines the number of images in a multi-page image in the same way as GetImageCount(), but accepts a file buffer as input.

See also:

See also GetImageCountEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageCountEx(Buffer as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function determines the number of images in a multi-page image in the same way as GetImageCount(), but accepts a file buffer as input.

See also:

See also GetImageCountEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageHeight(Handle as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the height of an image in pixel.

See also GetImageHeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageObj(Handle as UInt32, Flags as Integer) as DynaPDFImageMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.0 Yes Yes Yes Yes No
Function: The function retrieves the properties of an image as well as the decompressed image buffer if needed.
Notes:
For the flags use the constants: kpfNone, kpfDecomprAllImages, kpfNoJPXDecode, kpfDitherImagesToBW, kpfConvImagesToGray, kpfConvImagesToRGB, kpfConvImagesToCMYK or kpfImageInfoOnly.

By default all images are returned decompressed, with exception of image types which are already stored in a valid file format like JPEG and JPEG 2000 images.
If all image types should be decompressed set the flag kpfDecompressAllImages.
This function allocates memory that should be released with FreeImageObj when finish.
Image handles are simple array indexes. The number of image objects can be determined with GetImageObjCount. Note that this array does not include inline images which are stored in content streams. Such images can only be accessed with ParseContent().

Returns the function succeeds the return value is true. If the function fails the return value is false.

See also GetImageObj function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageObjCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 14.0 Yes Yes Yes Yes No
Function: Returns the number of image objects which were loaded with DynaPDF functions or imported from external PDF files.
Notes:
The images can be accessed with GetImageObj().
The return value is the number of image objects. This function cannot fail.

See also GetImageObjCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImageWidth(Handle as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the width of an image in pixel.

See also GetImageWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImportDataAction(index as Integer, Decompress as Boolean = false, ImageParseFlags as Integer = &h00000080) as DynaPDFImportDataActionMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Queries details for an import action.
Notes:
Index is from 0 to GetActionCount-1.

If Decompress is true, all file specification containing compressed data are uncompressed.
And ImageParseFlags defines how GetImageObj is called internally to decompress image. Default is to only get image info, but you can pass other values to actually get image data.

See also GetImportDataAction function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImportFlags as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the current import flags used to import PDF files.

See also GetImportFlags function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetImportFlags2 as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 17.0 Yes Yes Yes Yes No
Function: Queries import flags 2.

See also GetImportFlags2 function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInBBox(PageNum as Integer, Boundary as Integer) as DynaPDFRectMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function retrieves a bounding box of an external PDF page.
Example:
dim pdf as new MyDynaPDFMBS

// import some PDF
call pdf.CreateNewPDF(nil)
call pdf.OpenImportFile(file, 0, "")
call pdf.SetImportFlags(pdf.kifImportAsPage) // important! It makes the rendering faster.
call pdf.ImportPDFFile(1,1.0,1.0)

dim bounds as DynaPDFRectMBS = pdf.GetInBBox(1, pdf.kpbMediaBox)

See also GetInBBox function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInDocInfo(DInfo as Integer, byref value as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function retrieves a document info entry from an external PDF file as Unicode string.

See also GetInDocInfo function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInDocInfoCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the number of available document info entries of the currently opened import file or a negative error code on failure.

See also GetInDocInfoCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInDocInfoEx(index as Integer, byref DInfo as Integer, byref key as string, byref value as string) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns a document info entry from the currently opened import file.
Notes:
The key result is an ASCII string.
The value result is an ASCII or Unicode string.

See also GetInDocInfoEx function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInEncryptionFlags as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function returns the encryption flags of the currently opened import file.

See also GetInEncryptionFlags function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInFieldCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 11.1 Yes Yes Yes Yes No
Function: Returns number of field in open import file.

See also GetInFieldCount function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInIsCollection as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function checks whether the currently opened import file is a portable collection.
Notes: Changed to integer in order to allow returning error codes besides 0 for false and 1 for true.

See also GetInIsCollection function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInIsEncrypted as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: The function checks whether the currently opened import file is encrypted.
Notes: Changed to integer in order to allow returning error codes besides 0 for false and 1 for true.

See also GetInIsEncrypted function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFMBS.GetInIsSigned as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 8.0 Yes Yes Yes Yes No
Function: This function can be used to determine whether a PDF file contains a digital signature.
Notes: Changed to integer in order to allow returning error codes besides 0 for false and 1 for true.

See also GetInIsSigned function in DynaPDF manual.

Feedback, Comments & Corrections

Previous items Next items

The items on this page are in the following plugins: MBS DynaPDF Plugin.




Links
MBS Xojo PDF Plugins