Class Picture
A picture store in a RTF document
Inherited Members
Namespace: SharpRtfConvert.Model
Assembly: SharpRtfConvert.dll
Syntax
public class Picture : Node
Constructors
| Edit this page View SourcePicture(Group)
Create a new Picture object
Declaration
public Picture(Group group)
Parameters
| Type | Name | Description |
|---|---|---|
| Group | group | An RTF token group |
Properties
| Edit this page View SourceAttributes
Control tokens stored in the RTF document
Declaration
public IEnumerable<IToken> Attributes { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<IToken> |
Bytes
The binary data describing the picture
Declaration
public byte[]? Bytes { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Height
The rendered height of the picture
Declaration
public UnitValue Height { get; }
Property Value
| Type | Description |
|---|---|
| UnitValue |
Type
The picture format
Declaration
public IToken Type { get; }
Property Value
| Type | Description |
|---|---|
| IToken |
Width
The rendered width of the picture
Declaration
public UnitValue Width { get; }
Property Value
| Type | Description |
|---|---|
| UnitValue |
Methods
| Edit this page View SourceMimeType()
The MIME type of the picture
Declaration
public string MimeType()
Returns
| Type | Description |
|---|---|
| string |