Description
Gets the number of images that the current PDFRichText object wraps around.
Applies to
Syntax
long GetWrapImageCount()
Return value
Long. Returns the number of images that the current PDFRichText object wraps around if it succeeds.
Usage
PDFRichText can wrap around one or more images that are already added into the current PDF page, using the function WrapImage. This function GetWrapImageCount gets the total number of images that the current PDFRichTextObject wraps around.
Examples
This example gets the count of wrapped images in the current PDFRichText object.
//Get the count of the wrapped images messagebox("The return value shall be 1", lpdf_rtext.getwrapimagecount( ))
See also