VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree.Annotations Namespace / PdfMarkupAnnotation Class / Opacity Property
Syntax Requirements SeeAlso
In This Topic
    Opacity Property (PdfMarkupAnnotation)
    In This Topic
    Gets or sets the constant opacity value to be used in painting the annotation.
    Syntax
    'Declaration
    
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(1)>
    <DescriptionAttribute("The constant opacity value to be used in painting the annotation.")>
    Public Property Opacity As Single
    
    
    [Category("Appearance")]
    [DefaultValue(1)]
    [Description("The constant opacity value to be used in painting the annotation.")]
    public float Opacity { get; set; }
    
    
    [Category("Appearance")]
    [DefaultValue(1)]
    [Description("The constant opacity value to be used in painting the annotation.")]
    public: __property float get_Opacity();
    public: __property void set_Opacity(
    float value
    );
    [Category("Appearance")]
    [DefaultValue(1)]
    [Description("The constant opacity value to be used in painting the annotation.")]
    public:
    property float Opacity { float get(); void set(float value); }

    Property Value

    Minimum value is 0 (fully transparent), maximum value is 1 (no opacity).
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also