[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.StateAppearance

Class StateAppearance

Namespace
GrapeCity.Documents.Pdf.Annotations
Assembly
GcDocs.Pdf.dll

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.

public class StateAppearance : NotifyObject
Inheritance
object
StateAppearance
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Caption

Gets or sets the button caption.

public string Caption { get; set; }

Property Value

string

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);
public IXObject Image { get; set; }

Property Value

IXObject
See Also