menu

Document Processing

PdfViewerFreeTextSettings Class - C# PDF Library API Reference | Syncfusion

    Show / Hide Table of Contents

    PdfViewerFreeTextSettings Class

    Represents the settings for free text annotation.

    Inheritance
    System.Object
    AnnotationSettings
    PdfViewerFreeTextSettings
    Inherited Members
    AnnotationSettings.Author
    AnnotationSettings.Constraints
    AnnotationSettings.IsLocked
    AnnotationSettings.ModifiedDate
    AnnotationSettings.Opacity
    AnnotationSettings.Subject
    AnnotationSettings.Text
    Namespace: Syncfusion.Windows.PdfViewer
    Assembly: Syncfusion.PdfViewer.WPF.dll
    Syntax
    public class PdfViewerFreeTextSettings : AnnotationSettings

    Constructors

    PdfViewerFreeTextSettings()

    Declaration
    public PdfViewerFreeTextSettings()

    Properties

    Background

    Get and Set the backgorund color. The default value is System.Windows.Media.Colors.white

    Declaration
    public Color Background { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    BorderColor

    Get and Set the border color. The default value is System.Windows.Media.Colors.Black

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    BorderThickness

    Get and Set the Border thickness. The default value is 1

    Declaration
    public float BorderThickness { get; set; }
    Property Value
    Type
    System.Single

    CalloutLineEndingStyle

    Gets or sets the line ending style for the polyline in a callout text box.

    Declaration
    public PdfLineEndingStyle CalloutLineEndingStyle { get; set; }
    Property Value
    Type
    PdfLineEndingStyle

    FontColor

    Get and Set the text color. The default value is System.Windows.Media.Colors.Black

    Declaration
    public Color FontColor { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    FontFamily

    Get and Set the FontFamily.

    Declaration
    public FontFamily FontFamily { get; set; }
    Property Value
    Type
    System.Windows.Media.FontFamily

    FontSize

    Get and Set the text color. The default value is System.Windows.Media.Colors.Black

    Declaration
    public int FontSize { get; set; }
    Property Value
    Type
    System.Int32

    Height

    Get and Set the height of the TextBox . Default value = 30

    Declaration
    public double Height { get; set; }
    Property Value
    Type
    System.Double

    Intent

    Declaration
    public PdfAnnotationIntent Intent { get; set; }
    Property Value
    Type
    PdfAnnotationIntent

    Width

    Get and Set the width of the TextBox . Default value = 100

    Declaration
    public double Width { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved