public class Watermark extends com.aspose.ms.lang.Struct<Watermark>
Represents a watermark of the page.
Constructor and Description |
---|
Watermark() |
Watermark(com.aspose.ms.System.Drawing.Image image)
Initializes a watermark structure with an image.
|
Watermark(com.aspose.ms.System.Drawing.Image image,
Rectangle rect)
Initializes a watermark structure with an image and it's position on a page.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Watermark |
Clone() |
void |
CloneTo(Watermark that) |
boolean |
equals(Object obj) |
static boolean |
equals(Watermark obj1,
Watermark obj2) |
boolean |
getAvailable()
Gets a flag the watermark is present.
|
com.aspose.ms.System.Drawing.Image |
getImage()
Gets an image of the watermark.
|
Rectangle |
getPosition()
Gets a position of the watermark's image on a page.
|
public Watermark()
public Watermark(com.aspose.ms.System.Drawing.Image image, Rectangle rect)
Initializes a watermark structure with an image and it's position on a page.
image
- rect
- public Watermark(com.aspose.ms.System.Drawing.Image image)
Initializes a watermark structure with an image.
image
- public com.aspose.ms.System.Drawing.Image getImage()
Gets an image of the watermark.
public Rectangle getPosition()
Gets a position of the watermark's image on a page.
public boolean getAvailable()
Gets a flag the watermark is present.
public void CloneTo(Watermark that)
CloneTo
in class com.aspose.ms.System.ValueType<Watermark>
public Watermark Clone()
Clone
in class com.aspose.ms.System.ValueType<Watermark>
Copyright © 2018 Aspose. All Rights Reserved.