Class ThumbnailInfo
Information about a thumbnail from a G-code file
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class ThumbnailInfo : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
Data
Base64-encoded thumbnail or null if invalid or not requested
Declaration
public string? Data { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
This property is not provided by RepRapFirmware fileinfo results and it may be null if no thumbnail content is requested
Format
Format of this thumbnail
Declaration
public ThumbnailInfoFormat Format { get; set; }
Property Value
Type | Description |
---|---|
ThumbnailInfoFormat |
Height
Height of this thumbnail
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
int |
Offset
File offset of this thumbnail
Declaration
public long Offset { get; set; }
Property Value
Type | Description |
---|---|
long |
Size
Size of this thumbnail
Declaration
public int Size { get; set; }
Property Value
Type | Description |
---|---|
int |
Width
Width of this thumbnail
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int |