Class TWPOCustomImage
Hierarchy
System.TObject | System.Classes.TPersistent | System.Classes.TComponent | WPRTEDefs.TWPObject | TWPOCustomImage
Subclasses
Description
This object implements image support but does not publish properties. It will be created when bitmaps or metafiles are loaded into a TWPTextObject. The object can also be created directly and assigned to TWPTextObject.ObjRef.Properties
Property TransparentColor : TColor
Property url : string
Methods
Procedure AssignBitmap(Source:TGraphic)
Function CanSaveAsRTF(Ref:TWPTextObj; AllowBinary:Boolean) : Boolean
Procedure CompressOnTheFly(Format:string; AlsoWMF:Boolean)
Function CurrentExt : string
Function DataLen : Integer
Function DataPtr : Pointer
Procedure GetContentsWH(w:Integer; h:Integer; phys:Boolean)
Procedure GetContentsWHPix(w:Integer; h:Integer)
Function HasGPPImage(obj:TObject) : Boolean
Function IsAnimated : Boolean
Function IsBitmap : Boolean
Function IsEmpty : Boolean
Function IsTransparent : Boolean
Function LoadFromStream(Source:TStream) : Boolean
Function NeedTempBitmapStretchDraw : Boolean
Function ReadRTFData(Reader:TWPCustomTextReader; ReadPicData:TWPReadPictData) : Boolean
Function RefreshPaint(toCanvas:TCanvas; BoundCanvas:TRect) : Boolean
Function SaveToStream(Dest:TStream) : Boolean
Function WritePlaceHolderStr : string
Used or referenced by
-Property TWPMMInsertTextContents.CurrentObject : TWPObject |
-Property TWPMMInsertTextContents.CurrentObject : TWPObject |