RtfObject
OfficeIMO.Rtf
Dependency-free representation of an RTF embedded or linked object.
Inheritance
- object
- RtfObject
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method RtfDocument.AddObject
- Method RtfParagraph.AddObject
Constructors
public RtfObject(RtfObjectKind kind = Unknown, byte[]? data = null) #Creates an RTF object with optional raw object payload.
Parameters
- kind OfficeIMO.Rtf.RtfObjectKind = Unknown
- data byte[]? = null
Methods
Inherited Methods
Properties
public string? ClassName { get; set; } #Object class text from \objclass when present.
public long PayloadLength { get; } #Available decoded byte length without materializing a deferred source payload.
public int? Width { get; set; } #Object source width in twips or object units when declared by \objw.
public int? Height { get; set; } #Object source height in twips or object units when declared by \objh.
public int? ScaleX { get; set; } #Horizontal scale percentage when declared by \objscalex.
public int? ScaleY { get; set; } #Vertical scale percentage when declared by \objscaley.
public RtfParagraph Result { get; private set; } #Textual/rich fallback result shown by readers that cannot activate the object.
public RtfImage? ResultImage { get; set; } #Picture fallback result when the object declares a result picture.