Share via


BitmapCodecInfo.Author プロパティ

定義

コーデックの作成者を識別する値を取得します。

public:
 virtual property System::String ^ Author { System::String ^ get(); };
public virtual string Author { [System.Security.SecurityCritical] get; }
public virtual string Author { get; }
[<get: System.Security.SecurityCritical>]
member this.Author : string
member this.Author : string
Public Overridable ReadOnly Property Author As String

プロパティ値

コーデックの作成者。

属性

次の例では、特定BitmapEncoderの の プロパティをAuthor取得する方法を示します。

FileStream stream = new FileStream("empty.tif", FileMode.Create);
TiffBitmapEncoder encoder = new TiffBitmapEncoder();
TextBlock myTextBlock = new TextBlock();
myTextBlock.Text = "Codec Author is: " + encoder.CodecInfo.Author.ToString();
encoder.Frames.Add(BitmapFrame.Create(image));
MessageBox.Show(myPalette.Colors.Count.ToString());
encoder.Save(stream);
Dim stream As New FileStream("empty.tif", FileMode.Create)
Dim encoder As New TiffBitmapEncoder()
Dim myTextBlock As New TextBlock()
myTextBlock.Text = "Codec Author is: " + encoder.CodecInfo.Author.ToString()
encoder.Frames.Add(BitmapFrame.Create(image))
MessageBox.Show(myPalette.Colors.Count.ToString())
encoder.Save(stream)

適用対象

こちらもご覧ください