Click or drag to resize

CPDFSoundAnnotation Class

Represents an audio file added to a page. Sound annotations can be created from recording audio using the device's microphone or by importing an existing audio file. Sound annotations are stored inside the PDF file itself. On a page, CPDFSoundAnnotation are represented by an icon, similar to CPDFTextAnnotation.
Inheritance Hierarchy

Namespace:  ComPDFKit.PDFAnnotation
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.0.0.0
Syntax
C#
public class CPDFSoundAnnotation : CPDFAnnotation

The CPDFSoundAnnotation type exposes the following members.

Properties
  NameDescription
Public propertyPage
Returns the page that the annotation is associated with.
(Inherited from CPDFAnnotation.)
Public propertyRect
Gets the rectangle of the annotation on the page.
(Inherited from CPDFAnnotation.)
Public propertyType
Gets annotation type.
(Inherited from CPDFAnnotation.)
Top
Methods
  NameDescription
Public methodGetAuthor
Gets the author of annotation.
(Inherited from CPDFAnnotation.)
Public methodGetBorderWidth
Gets border width of the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetContent
Gets annotation content.
(Inherited from CPDFAnnotation.)
Public methodGetCreationDate
Gets the creation date of annotation.
(Inherited from CPDFAnnotation.)
Public methodGetFlags
Returns the flag of the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetIsHidden
This is a convenience property that checks for `CPDFAnnotationFlagHidden` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodGetIsLocked
This is a convenience property that checks for `CPDFAnnotationFlagLocked` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodGetIsReadOnly
This is a convenience property that checks for `CPDFAnnotationFlagReadOnly` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodGetModifyDate
Gets the modification date of annotation.
(Inherited from CPDFAnnotation.)
Public methodGetRect
Gets rectangle on the page.
(Inherited from CPDFAnnotation.)
Public methodGetRotation
Gets rotation angle of annotaton appearance.
(Inherited from CPDFAnnotation.)
Public methodGetTextAttribute
Gets annotation text attribute, more:CTextAttribute
(Inherited from CPDFAnnotation.)
Public methodGetTransparency
Gets annotation opacity.
(Inherited from CPDFAnnotation.)
Public methodHasSoundSource
Whether to contain audio resources.
Public methodIsMersured (Inherited from CPDFAnnotation.)
Public methodIsValid
Whether the object is valid.
(Inherited from CPDFAnnotation.)
Public methodLoadSoundSource
Gets audio resource.
Public methodReleaseAnnot
Releases resources of the object.
(Inherited from CPDFAnnotation.)
Public methodRemoveAnnot
Removes annotation.
(Inherited from CPDFAnnotation.)
Public methodRenderAnnot(Int32, Int32, Byte, CPDFAppearanceType)
Renders contents of the annotation to image.
(Inherited from CPDFAnnotation.)
Public methodRenderAnnot(Int32, Int32, IntPtr, CPDFAppearanceType)
Renders contents of the annotation to image.
(Inherited from CPDFAnnotation.)
Public methodSetAuthor
Sets the author of annotation.
(Inherited from CPDFAnnotation.)
Public methodSetBorderWidth
Sets border width of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetContent
Sets annotation content.
(Inherited from CPDFAnnotation.)
Public methodSetCreationDate
Sets the creation date of annotation.
(Inherited from CPDFAnnotation.)
Public methodSetFlags
Sets the flag of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetIsHidden
This is a convenience property that checks for `CPDFAnnotationFlagHidden` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodSetIsLocked
This is a convenience property that checks for `CPDFAnnotationFlagLocked` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodSetIsReadOnly
This is a convenience property that checks for `CPDFAnnotationFlagReadOnly` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodSetModifyDate
Sets the modification date of annotation.
(Inherited from CPDFAnnotation.)
Public methodSetRect
Sets rectangle on the page.
(Inherited from CPDFAnnotation.)
Public methodSetSoundPath(String, String)
Sets audio resource.
Public methodSetSoundPath(Byte, Int32, Int32, String)
Public methodSetTextAttribute
Sets text attribute of annotation, more:CTextAttribute
(Inherited from CPDFAnnotation.)
Public methodSetTransparency (Inherited from CPDFAnnotation.)
Public methodUpdateAp
Updates annotation appearance.
(Inherited from CPDFAnnotation.)
Public methodUpdateApWithBitmap
Upadates annotation appearance by Bitmap.
(Inherited from CPDFAnnotation.)
Public methodUpdateApWithImage (Inherited from CPDFAnnotation.)
Top
See Also