public final class GridAndGuidesResouce extends ResourceBlock
Represents the grid and guides resource.
ResourceBlock.ResourceBlockState
RESOUCE_BLOCK_SIGNATURE
Constructor and Description |
---|
GridAndGuidesResouce()
Initializes a new instance of the
GridAndGuidesResouce class. |
Modifier and Type | Method and Description |
---|---|
int |
getDataSize()
Gets the resource data size in bytes.
|
int |
getGridCycleX()
Gets or sets the horizontal grid cycle.
|
int |
getGridCycleY()
Gets or sets the vertical grid cycle.
|
int |
getGuideCount()
Gets the guide resource blocks count.
|
GuideResource[] |
getGuides()
Gets or sets the guides.
|
int |
getHeaderVersion()
Gets or sets the header version.
|
int |
getMinimalVersion()
Gets the minimal required psd version.
|
void |
setGridCycleX(int value) |
void |
setGridCycleY(int value) |
void |
setGuides(GuideResource[] value) |
void |
setHeaderVersion(int value) |
getID, getName, getSignature, getSize, save, setID, setName, setState, validateValues
public GridAndGuidesResouce()
Initializes a new instance of the GridAndGuidesResouce
class.
public GuideResource[] getGuides()
Gets or sets the guides.
Value: The guides.public void setGuides(GuideResource[] value)
public int getGuideCount()
Gets the guide resource blocks count.
Value: The guide resource blocks count.public int getHeaderVersion()
Gets or sets the header version. This value should be always 1.
Value: The header version.public void setHeaderVersion(int value)
public int getGridCycleX()
Gets or sets the horizontal grid cycle. The default is 576.
Value: The horizontal grid cycle.public void setGridCycleX(int value)
public int getGridCycleY()
Gets or sets the vertical grid cycle. The default is 576.
Value: The vertical grid cycle.public void setGridCycleY(int value)
public int getDataSize()
Gets the resource data size in bytes.
Value: The resource data size.getDataSize
in class ResourceBlock
public int getMinimalVersion()
Gets the minimal required psd version.
Value: The minimal psd version.getMinimalVersion
in class ResourceBlock
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.