Class TiffByteType
Tên không gian: Aspose.Imaging.FileFormats.Tiff.TiffTagTypes Tổng hợp: Aspose.Imaging.dll (25.5.0)
Loại tiff byte
[JsonObject(MemberSerialization.OptIn)]
public sealed class TiffByteType : TiffCommonArrayType, IComparable
Inheritance
object ← TiffDataType ← TiffCommonArrayType ← TiffByteType
Implements
Thành viên thừa kế
TiffCommonArrayType.ValuesContainer , TiffCommonArrayType.Count , TiffDataType.ReadTag(TiffStreamReader, long) , TiffDataType.CompareTo(object) , TiffDataType.GetAlignedDataSize(byte) , TiffDataType.GetAdditionalDataSize(byte) , TiffDataType.DeepClone() , TiffDataType.WriteTag(TiffStreamWriter, long) , TiffDataType.WriteAdditionalData(TiffStreamWriter) , TiffDataType.ToString() , TiffDataType.ElementSize , TiffDataType.DataSize , TiffDataType.Count , TiffDataType.Id , TiffDataType.TagId , TiffDataType.TagType , TiffDataType.Value , TiffDataType.IsValid , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TiffByteType(TiffTags)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.FileFormats.Tiff. TiffTagTypes.
public TiffByteType(TiffTags tagId)
Parameters
tagId
TiffTags
Đánh giá ID
TiffByteType(Thuyết Minh)
Bắt đầu một trường hợp mới của lớp Aspose.Imaging.FileFormats.Tiff. TiffTagTypes.
[JsonConstructor]
public TiffByteType(ushort tagId)
Parameters
tagId
ushort
Đánh giá ID
Properties
ElementSize
Nhận kích thước yếu tố trong byte.
public override byte ElementSize { get; }
Giá trị bất động sản
TagType
Nhận loại thẻ.
public override TiffDataTypes TagType { get; }
Giá trị bất động sản
Value
Nhận hoặc đặt giá trị loại dữ liệu này chứa.
public override object Value { get; set; }
Giá trị bất động sản
Exceptions
Chỉ có byte array được hỗ trợ.
Values
Nhận hoặc đặt các giá trị.
[JsonProperty]
public byte[] Values { get; set; }
Giá trị bất động sản
byte [ ]
ValuesContainer
Nhận các giá trị container.
public override Array ValuesContainer { get; }
Giá trị bất động sản
Methods
CopyInstanceData(TiffDataType)
Sao chép dữ liệu ví dụ vào loại cloned.
protected override void CopyInstanceData(TiffDataType clonedType)
Parameters
clonedType
TiffDataType
Các loại clone
CreateInstance()
tạo ra một trường hợp mới.
protected override TiffDataType CreateInstance()
Returns
Một trường hợp mới Aspose.Imaging.FileFormats.Tiff. TiffDataType.
ReadData(TiffStreamReader, dài, dài)
Đọc thêm dữ liệu.
protected override void ReadData(TiffStreamReader dataStream, long position, long count)
Parameters
dataStream
TiffStreamReader
Dữ liệu Stream
position
long
Vị trí để đọc từ
count
long
Số lượng các yếu tố.
WriteAdditionalData(TiffStreamWriter)
Viết dữ liệu thẻ bổ sung.
public override long WriteAdditionalData(TiffStreamWriter dataStream)
Parameters
dataStream
TiffStreamWriter
Dữ liệu Stream
Returns
Các bytes thực sự được viết.
WriteTagValue(TiffStreamWriter)
Viết giá trị thẻ hiện tại.
protected override void WriteTagValue(TiffStreamWriter dataStream)
Parameters
dataStream
TiffStreamWriter
Dữ liệu dòng để viết đến.