public class XpsDocument extends XpsPartBase implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Xps.Packaging.XpsDocument
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: ReachFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: ReachFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Xps.Packaging.XpsDocument
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XpsDocument() |
XpsDocument(java.lang.Object instance)
Internal constructor.
|
XpsDocument(Package _package)
Initializes a new instance by invoking the .NET constructor.
|
XpsDocument(Package _package,
CompressionOption compressionOption)
Initializes a new instance by invoking the .NET constructor.
|
XpsDocument(Package _package,
CompressionOption compressionOption,
java.lang.String path)
Initializes a new instance by invoking the .NET constructor.
|
XpsDocument(java.lang.String path,
FileAccess packageAccess)
Initializes a new instance by invoking the .NET constructor.
|
XpsDocument(java.lang.String path,
FileAccess packageAccess,
CompressionOption compressionOption)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IXpsFixedDocumentSequenceWriter |
AddFixedDocumentSequence()
Invokes the .NET member AddFixedDocumentSequence.
|
XpsThumbnail |
AddThumbnail(XpsImageType imageType)
Invokes the .NET member AddThumbnail.
|
static XpsDocument |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XpsDocument, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close()
Invokes the .NET member Close.
|
static XpsDocumentWriter |
CreateXpsDocumentWriter(XpsDocument xpsDocument)
Invokes the .NET member CreateXpsDocumentWriter.
|
PackageProperties |
getCoreDocumentProperties()
Gets the value of the .NET property CoreDocumentProperties.
|
FixedDocumentSequence |
GetFixedDocumentSequence()
Invokes the .NET member GetFixedDocumentSequence.
|
IXpsFixedDocumentSequenceReader |
getFixedDocumentSequenceReader()
Gets the value of the .NET property FixedDocumentSequenceReader.
|
boolean |
getIsReader()
Gets the value of the .NET property IsReader.
|
boolean |
getIsSignable()
Gets the value of the .NET property IsSignable.
|
boolean |
getIsWriter()
Gets the value of the .NET property IsWriter.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
ReadOnlyCollection_1 |
getSignatures()
Gets the value of the .NET property Signatures.
|
XpsThumbnail |
getThumbnail()
Gets the value of the .NET property Thumbnail.
|
void |
RemoveSignature(XpsDigitalSignature signature)
Invokes the .NET member RemoveSignature.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setThumbnail(XpsThumbnail Thumbnail)
Sets the value of the .NET property Thumbnail.
|
XpsDigitalSignature |
SignDigitally(X509Certificate certificate,
boolean embedCertificate,
XpsDigSigPartAlteringRestrictions restrictions)
Invokes the .NET member SignDigitally.
|
XpsDigitalSignature |
SignDigitally(X509Certificate certificate,
boolean embedCertificate,
XpsDigSigPartAlteringRestrictions restrictions,
Guid id)
Invokes the .NET member SignDigitally.
|
XpsDigitalSignature |
SignDigitally(X509Certificate certificate,
boolean embedCertificate,
XpsDigSigPartAlteringRestrictions restrictions,
Guid id,
boolean testIsSignable)
Invokes the .NET member SignDigitally.
|
getUri, setUripublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XpsDocument()
throws java.lang.Throwable
java.lang.Throwablepublic XpsDocument(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic XpsDocument(Package _package) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, FormatException, CultureNotFoundException, UnreachableException, OutOfMemoryException
_package - the argument of type Packagejava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic XpsDocument(Package _package, CompressionOption compressionOption) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, CultureNotFoundException, UnreachableException
_package - the argument of type PackagecompressionOption - the argument of type CompressionOptionjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic XpsDocument(Package _package, CompressionOption compressionOption, java.lang.String path) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException, UnreachableException
_package - the argument of type PackagecompressionOption - the argument of type CompressionOptionpath - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic XpsDocument(java.lang.String path,
FileAccess packageAccess)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException,
CultureNotFoundException,
UnreachableException,
OutOfMemoryException,
NotSupportedException,
InvalidDataException,
ObjectDisposedException,
XmlException,
FileFormatException,
IOException,
KeyNotFoundException,
UnauthorizedAccessException
path - the argument of type java.lang.StringpackageAccess - the argument of type FileAccessjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidDataException - if the .NET member raises itObjectDisposedException - if the .NET member raises itXmlException - if the .NET member raises itFileFormatException - if the .NET member raises itIOException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic XpsDocument(java.lang.String path,
FileAccess packageAccess,
CompressionOption compressionOption)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
UnreachableException,
OutOfMemoryException,
UriFormatException,
ObjectDisposedException,
IOException,
InvalidDataException,
XmlException,
FileFormatException,
RankException,
ArrayTypeMismatchException,
KeyNotFoundException,
UnauthorizedAccessException
path - the argument of type java.lang.StringpackageAccess - the argument of type FileAccesscompressionOption - the argument of type CompressionOptionjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUriFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itXmlException - if the .NET member raises itFileFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itpublic IXpsFixedDocumentSequenceWriter AddFixedDocumentSequence() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, IOException, FileFormatException, XmlException, InvalidDataException, OutOfMemoryException, UnreachableException, FormatException, KeyNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itXpsPackagingException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic XpsThumbnail AddThumbnail(XpsImageType imageType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, IOException, InvalidDataException, OutOfMemoryException, XpsPackagingException, KeyNotFoundException, FormatException, XmlException
imageType - the argument of type XpsImageTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXpsPackagingException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itpublic static XpsDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XpsDocument, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXpsDocument instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
IOException,
ArgumentNullException,
FileFormatException,
ArgumentOutOfRangeException,
InvalidOperationException,
XmlException,
NotSupportedException,
KeyNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIOException - if the .NET member raises itArgumentNullException - if the .NET member raises itFileFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itXmlException - if the .NET member raises itNotSupportedException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static XpsDocumentWriter CreateXpsDocumentWriter(XpsDocument xpsDocument) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
xpsDocument - the argument of type XpsDocumentjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic PackageProperties getCoreDocumentProperties() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, IOException, FileFormatException, OutOfMemoryException, XmlException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itpublic FixedDocumentSequence GetFixedDocumentSequence() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, XpsPackagingException, IOException, FileFormatException, XmlException, InvalidDataException, OutOfMemoryException, UnreachableException, XamlSchemaException, NotImplementedException, XamlException, XamlParseException, InvalidEnumArgumentException, InvalidCastException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itXpsPackagingException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itXamlSchemaException - if the .NET member raises itNotImplementedException - if the .NET member raises itXamlException - if the .NET member raises itXamlParseException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic IXpsFixedDocumentSequenceReader getFixedDocumentSequenceReader() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, IOException, FileFormatException, XmlException, InvalidDataException, OutOfMemoryException, UnreachableException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itUnreachableException - if the .NET member raises itpublic boolean getIsReader()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean getIsSignable()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
IOException,
FileFormatException,
XmlException,
InvalidDataException,
OutOfMemoryException,
KeyNotFoundException,
XpsPackagingException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXpsPackagingException - if the .NET member raises itpublic boolean getIsWriter()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XpsPartBasepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XpsPartBasepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XpsPartBasenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XpsPartBasepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class XpsPartBasepublic ReadOnlyCollection_1 getSignatures() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, IOException, FileFormatException, OutOfMemoryException, InvalidDataException, XpsPackagingException, XmlException, KeyNotFoundException, CryptographicException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidDataException - if the .NET member raises itXpsPackagingException - if the .NET member raises itXmlException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic XpsThumbnail getThumbnail() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, IOException, FileFormatException, XmlException, InvalidDataException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itInvalidDataException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void RemoveSignature(XpsDigitalSignature signature) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, IOException, FileFormatException, OutOfMemoryException, XmlException, KeyNotFoundException, InvalidDataException, XpsPackagingException, CryptographicException
signature - the argument of type XpsDigitalSignaturejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itIOException - if the .NET member raises itFileFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itInvalidDataException - if the .NET member raises itXpsPackagingException - if the .NET member raises itCryptographicException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class XpsPartBaseinstance - the new underlying objectpublic void setThumbnail(XpsThumbnail Thumbnail) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
Thumbnail - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic XpsDigitalSignature SignDigitally(X509Certificate certificate, boolean embedCertificate, XpsDigSigPartAlteringRestrictions restrictions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, IOException, InvalidDataException, KeyNotFoundException, XpsPackagingException, FileFormatException, XmlException, CryptographicException, FormatException, CryptographicUnexpectedOperationException
certificate - the argument of type X509CertificateembedCertificate - the argument of type booleanrestrictions - the argument of type XpsDigSigPartAlteringRestrictionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXpsPackagingException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itFormatException - if the .NET member raises itCryptographicUnexpectedOperationException - if the .NET member raises itpublic XpsDigitalSignature SignDigitally(X509Certificate certificate, boolean embedCertificate, XpsDigSigPartAlteringRestrictions restrictions, Guid id) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException, IOException, InvalidDataException, KeyNotFoundException, XpsPackagingException, FileFormatException, XmlException, CryptographicException, CryptographicUnexpectedOperationException
certificate - the argument of type X509CertificateembedCertificate - the argument of type booleanrestrictions - the argument of type XpsDigSigPartAlteringRestrictionsid - the argument of type Guidjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXpsPackagingException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itCryptographicUnexpectedOperationException - if the .NET member raises itpublic XpsDigitalSignature SignDigitally(X509Certificate certificate, boolean embedCertificate, XpsDigSigPartAlteringRestrictions restrictions, Guid id, boolean testIsSignable) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException, IOException, InvalidDataException, KeyNotFoundException, XpsPackagingException, FileFormatException, XmlException, CryptographicException, CryptographicUnexpectedOperationException
certificate - the argument of type X509CertificateembedCertificate - the argument of type booleanrestrictions - the argument of type XpsDigSigPartAlteringRestrictionsid - the argument of type GuidtestIsSignable - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itIOException - if the .NET member raises itInvalidDataException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itXpsPackagingException - if the .NET member raises itFileFormatException - if the .NET member raises itXmlException - if the .NET member raises itCryptographicException - if the .NET member raises itCryptographicUnexpectedOperationException - if the .NET member raises it