FOM 参照 > Content > Tags > fGraphic interface
fGraphic interface
This object represents a vector graphic, and contains the properties and methods for manipulating its contents. A clipping path is automatically created surrounding the overall width and height, hiding any part of the graphic that falls outside this area.
This object inherits from fTag.
GraphicFileType enumeration
Which type of graphic file to import.
The GraphicFileType enumeration has the following constants of type int.
FT_AUTO = -1
Attempt to automatically detect the file type.
FT_GEM = 1
GEM
FT_HPGL = 2
HPGL
FT_DXF = 3
DXF
FT_PICT = 4
PICT
FT_CGM = 5
CGM
FT_SVG = 6
SVG
FT_SVGPASSTHRU = 7
SVG with no LD extensions. If the image is linked to the template when imported and printed to PDF, the original SVG file will be included directly in the PDF.
height attribute
The overall height of the graphic.
height
Access
read-write
Returns
fLength
width attribute
The overall width of the graphic.
width
Access
read-write
Returns
fLength
toSVG method
Macro: tsavesvg
Returns an SVG representation of the graphic.
toSVG
Parameters
None
Returns
String. The SVG representation of the graphic.
これは役に立ちましたか?