[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.StateAppearance

StateAppearance Class

Represents the appearance attributes for a ButtonAppearance used when the state of a button field is changed: user presses the button, mouse is over the button.

Inheritance
StateAppearance
Namespace: GrapeCity.Documents.Pdf.Annotations
Assembly: DS.Documents.Pdf.dll
Syntax
public class StateAppearance : NotifyObject
Public Class StateAppearance
    Inherits NotifyObject

Properties

Name Description
Caption

Gets or sets the button caption.

Image

Gets or sets an image specified by the IXObject interface.

You can use PdfImageHandler to assign an image to this property, for example:

GrapeCity.Documents.Drawing.Image img = Image.FromFile("example.png");
btn.ButtonAppearance.DownAppearance.Image = doc.ImageHandlers.GetImageHandler(img);