|
iText 9.7.0 API
|
Represents image data from a PDF. More...
Public Member Functions |
|
| ImageRenderInfo (Stack< CanvasTag > canvasTagHierarchy, CanvasGraphicsState gs, Matrix ctm, PdfStream imageStream, PdfName resourceName, PdfDictionary colorSpaceDictionary, bool isInline) | |
| Creates an ImageRenderInfo. More... |
|
| virtual PdfImageXObject | GetImage () |
| Gets the image wrapped in ImageXObject. More... |
|
| virtual PdfName | GetImageResourceName () |
| Gets the name of the image resource. More... |
|
| virtual Vector | GetStartPoint () |
| Gets the vector in User space representing the start point of the image. More... |
|
| virtual Matrix | GetImageCtm () |
| Gets the coordinate transformation matrix in User space which was active when this image was rendered. More... |
|
| virtual float | GetArea () |
| Gets the size of the image in User space units. More... |
|
| virtual bool | IsInline () |
| Gets the inline flag. More... |
|
| virtual PdfDictionary | GetColorSpaceDictionary () |
| Gets the color space dictionary of the image. More... |
|
| virtual IList< CanvasTag > | GetCanvasTagHierarchy () |
| Gets hierarchy of the canvas tags that wraps given text. More... |
|
| virtual int | GetMcid () |
| Gets the marked-content identifier associated with this ImageRenderInfo instance. More... |
|
| virtual bool | HasMcid (int mcid) |
| Checks if this ImageRenderInfo instance is associated with a marked content sequence with a given mcid. More... |
|
| virtual bool | HasMcid (int mcid, bool checkTheTopmostLevelOnly) |
| Checks if this ImageRenderInfo instance is associated with a marked content sequence with a given mcid. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.Canvas.Parser.Data.AbstractRenderInfo |
|
| AbstractRenderInfo (CanvasGraphicsState gs) | |
| virtual CanvasGraphicsState | GetGraphicsState () |
| virtual bool | IsGraphicsStatePreserved () |
| virtual void | PreserveGraphicsState () |
| virtual void | ReleaseGraphicsState () |
Additional Inherited Members |
|
Package Functions inherited from iText.Kernel.Pdf.Canvas.Parser.Data.AbstractRenderInfo |
|
| virtual void | CheckGraphicsState () |
Package Attributes inherited from iText.Kernel.Pdf.Canvas.Parser.Data.AbstractRenderInfo |
|
| CanvasGraphicsState | gs |
Represents image data from a PDF.
|
inline |
Creates an ImageRenderInfo.
| canvasTagHierarchy | the hierarchy of nested canvas tags for the text from the most inner (nearest to text) tag to the most outer |
| gs | the canvas graphics state |
| ctm | the coordinate transformation matrix at the time the image is rendered |
| imageStream | the image stream object |
| resourceName | the name of the image resource |
| colorSpaceDictionary | the color space dictionary from resources which are associated with the image |
| isInline | defines if the encountered image was inline |
|
inlinevirtual |
Gets the size of the image in User space units.
|
inlinevirtual |
Gets hierarchy of the canvas tags that wraps given text.
|
inlinevirtual |
Gets the color space dictionary of the image.
|
inlinevirtual |
Gets the image wrapped in ImageXObject.
Gets the image wrapped in ImageXObject. You can:
|
inlinevirtual |
Gets the coordinate transformation matrix in User space which was active when this image was rendered.
|
inlinevirtual |
Gets the name of the image resource.
|
inlinevirtual |
Gets the marked-content identifier associated with this ImageRenderInfo instance.
|
inlinevirtual |
Gets the vector in User space representing the start point of the image.
|
inlinevirtual |
Checks if this ImageRenderInfo instance is associated with a marked content sequence with a given mcid.
| mcid | a marked content id |
true if the image is marked with this id, false otherwise
|
inlinevirtual |
Checks if this ImageRenderInfo instance is associated with a marked content sequence with a given mcid.
| mcid | a marked content id |
| checkTheTopmostLevelOnly | indicates whether to check the topmost level of marked content stack only |
true if this ImageRenderInfo instance is marked with this id, false otherwise
|
inlinevirtual |
Gets the inline flag.
true if image was inlined in original stream