Skip to content

Commit 10133f5

Browse files
author
Samer El-Khatib
committed
Release 24.12 - Update net and java apireference
1 parent a4ebf1b commit 10133f5

File tree

301 files changed

+1700
-1480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+1700
-1480
lines changed

english/java/com.aspose.imaging.fileformats.cdr/cdrimage/_index.md

+26-68
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,14 @@ The API for CorelDRAW CDR vector image format support is an essential toolkit fo
2929
| [getDefaultPage()](#getDefaultPage--) | Retrieve the default page of the image with ease using this user-friendly property. |
3030
| [isCached()](#isCached--) | Effortlessly determine whether the object's data is currently cached, eliminating the need for data reading. |
3131
| [getBitsPerPixel()](#getBitsPerPixel--) | Retrieve the bit depth of the image effortlessly with this user-friendly property. |
32-
| [getWidth()](#getWidth--) | Retrieve the width of the image seamlessly with this intuitive property. |
33-
| [getHeight()](#getHeight--) | Retrieve the height of the image effortlessly with this intuitive property. |
3432
| [getPageCount()](#getPageCount--) | Effortlessly retrieve or update the total page count of the image with this intuitive property. |
3533
| [getPages()](#getPages--) | Retrieve the pages of the image seamlessly with this intuitive property. |
3634
| [getCdrDocument()](#getCdrDocument--) | Effortlessly retrieve or update the CDR document using this intuitive property. |
3735
| [getFileFormat()](#getFileFormat--) | Retrieve the file format of the image effortlessly with this intuitive property. |
36+
| [getWidth()](#getWidth--) | Gets the image width. |
37+
| [getHeight()](#getHeight--) | Gets the image height. |
3838
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Retrieve the default options effortlessly with this user-friendly method. |
3939
| [cacheData()](#cacheData--) | Effortlessly cache the data to prevent additional loading from the underlying source with this user-friendly method. |
40-
| [resize(int newWidth, int newHeight, int resizeType)](#resize-int-int-int-) | Effortlessly resize the image to desired dimensions with this intuitive method. |
41-
| [resize(int newWidth, int newHeight, ImageResizeSettings settings)](#resize-int-int-com.aspose.imaging.ImageResizeSettings-) | Resizes the image. |
42-
| [rotateFlip(int rotateFlipType)](#rotateFlip-int-) | Adjust the orientation of the image by rotating, flipping, or applying both operations with this versatile method. |
4340
| [setPalette(IColorPalette palette, boolean updateColors)](#setPalette-com.aspose.imaging.IColorPalette-boolean-) | Customize the color palette of the image with this intuitive method. |
4441

4542
## Example: The following example shows how to cache all pages of a CDR image.
@@ -118,26 +115,6 @@ Retrieve the bit depth of the image effortlessly with this user-friendly propert
118115

119116
**Returns:**
120117
int - The image bits per pixel count.
121-
### getWidth() {#getWidth--}
122-
```
123-
public int getWidth()
124-
```
125-
126-
127-
Retrieve the width of the image seamlessly with this intuitive property. Ideal for developers seeking to access the dimensions of their images dynamically, ensuring precise layout and rendering in their applications.
128-
129-
**Returns:**
130-
int - The image width in pixels.
131-
### getHeight() {#getHeight--}
132-
```
133-
public int getHeight()
134-
```
135-
136-
137-
Retrieve the height of the image effortlessly with this intuitive property. Perfect for developers seeking to access the dimensions of their images dynamically, ensuring accurate layout and rendering in their applications.
138-
139-
**Returns:**
140-
int - the image height in pixels.
141118
### getPageCount() {#getPageCount--}
142119
```
143120
public final int getPageCount()
@@ -207,6 +184,30 @@ Retrieve the file format of the image effortlessly with this intuitive property.
207184

208185
**Returns:**
209186
long
187+
### getWidth() {#getWidth--}
188+
```
189+
public int getWidth()
190+
```
191+
192+
193+
Gets the image width.
194+
195+
Value: The image width.
196+
197+
**Returns:**
198+
int - the image width.
199+
### getHeight() {#getHeight--}
200+
```
201+
public int getHeight()
202+
```
203+
204+
205+
Gets the image height.
206+
207+
Value: The image height.
208+
209+
**Returns:**
210+
int - the image height.
210211
### getDefaultOptions(Object[] args) {#getDefaultOptions-java.lang.Object---}
211212
```
212213
public ImageOptionsBase getDefaultOptions(Object[] args)
@@ -251,49 +252,6 @@ try {
251252
}
252253
```
253254

254-
### resize(int newWidth, int newHeight, int resizeType) {#resize-int-int-int-}
255-
```
256-
public void resize(int newWidth, int newHeight, int resizeType)
257-
```
258-
259-
260-
Effortlessly resize the image to desired dimensions with this intuitive method. Perfect for developers seeking to adjust the size of images dynamically, ensuring they fit the layout or requirements of their applications seamlessly.
261-
262-
**Parameters:**
263-
| Parameter | Type | Description |
264-
| --- | --- | --- |
265-
| newWidth | int | The new width. |
266-
| newHeight | int | The new height. |
267-
| resizeType | int | The resize type. |
268-
269-
### resize(int newWidth, int newHeight, ImageResizeSettings settings) {#resize-int-int-com.aspose.imaging.ImageResizeSettings-}
270-
```
271-
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
272-
```
273-
274-
275-
Resizes the image.
276-
277-
**Parameters:**
278-
| Parameter | Type | Description |
279-
| --- | --- | --- |
280-
| newWidth | int | The new width. |
281-
| newHeight | int | The new height. |
282-
| settings | [ImageResizeSettings](../../com.aspose.imaging/imageresizesettings) | The resize settings. |
283-
284-
### rotateFlip(int rotateFlipType) {#rotateFlip-int-}
285-
```
286-
public void rotateFlip(int rotateFlipType)
287-
```
288-
289-
290-
Adjust the orientation of the image by rotating, flipping, or applying both operations with this versatile method. Perfect for developers seeking to customize image orientation dynamically, ensuring optimal presentation or alignment in their applications.
291-
292-
**Parameters:**
293-
| Parameter | Type | Description |
294-
| --- | --- | --- |
295-
| rotateFlipType | int | Type of rotating flip. |
296-
297255
### setPalette(IColorPalette palette, boolean updateColors) {#setPalette-com.aspose.imaging.IColorPalette-boolean-}
298256
```
299257
public void setPalette(IColorPalette palette, boolean updateColors)

english/java/com.aspose.imaging.fileformats.cdr/cdrimagepage/_index.md

-68
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,10 @@ The Cdr image page
2424
| [getPageNumber()](#getPageNumber--) | Gets the page number. |
2525
| [isCached()](#isCached--) | Gets a value indicating whether object's data is cached currently and no data reading is required. |
2626
| [getBitsPerPixel()](#getBitsPerPixel--) | Gets the image bits per pixel count. |
27-
| [getWidth()](#getWidth--) | Gets the image width. |
28-
| [getHeight()](#getHeight--) | Gets the image height. |
2927
| [getFileFormat()](#getFileFormat--) | Gets a value of file format |
3028
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Gets the default options. |
3129
| [getCdrDocument()](#getCdrDocument--) | Gets the CDR document. |
3230
| [cacheData()](#cacheData--) | Caches the data and ensures no additional data loading will be performed from the underlying `P:com.aspose.imaging.dataStreamSupporter.dataStreamContainer`. |
33-
| [resize(int newWidth, int newHeight, int resizeType)](#resize-int-int-int-) | Resizes the image. |
34-
| [resize(int newWidth, int newHeight, ImageResizeSettings settings)](#resize-int-int-com.aspose.imaging.ImageResizeSettings-) | Resizes the image. |
35-
| [rotateFlip(int rotateFlipType)](#rotateFlip-int-) | Rotates, flips, or rotates and flips the image. |
3631
| [setPalette(IColorPalette palette, boolean updateColors)](#setPalette-com.aspose.imaging.IColorPalette-boolean-) | Sets the image palette. |
3732
### getParentImage() {#getParentImage--}
3833
```
@@ -78,26 +73,6 @@ Gets the image bits per pixel count.
7873

7974
**Returns:**
8075
int - the image bits per pixel count.
81-
### getWidth() {#getWidth--}
82-
```
83-
public int getWidth()
84-
```
85-
86-
87-
Gets the image width.
88-
89-
**Returns:**
90-
int - the image width.
91-
### getHeight() {#getHeight--}
92-
```
93-
public int getHeight()
94-
```
95-
96-
97-
Gets the image height.
98-
99-
**Returns:**
100-
int - the image height.
10176
### getFileFormat() {#getFileFormat--}
10277
```
10378
public long getFileFormat()
@@ -141,49 +116,6 @@ public synchronized void cacheData()
141116

142117
Caches the data and ensures no additional data loading will be performed from the underlying `P:com.aspose.imaging.dataStreamSupporter.dataStreamContainer`.
143118

144-
### resize(int newWidth, int newHeight, int resizeType) {#resize-int-int-int-}
145-
```
146-
public void resize(int newWidth, int newHeight, int resizeType)
147-
```
148-
149-
150-
Resizes the image.
151-
152-
**Parameters:**
153-
| Parameter | Type | Description |
154-
| --- | --- | --- |
155-
| newWidth | int | The new width. |
156-
| newHeight | int | The new height. |
157-
| resizeType | int | The resize type. |
158-
159-
### resize(int newWidth, int newHeight, ImageResizeSettings settings) {#resize-int-int-com.aspose.imaging.ImageResizeSettings-}
160-
```
161-
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
162-
```
163-
164-
165-
Resizes the image.
166-
167-
**Parameters:**
168-
| Parameter | Type | Description |
169-
| --- | --- | --- |
170-
| newWidth | int | The new width. |
171-
| newHeight | int | The new height. |
172-
| settings | [ImageResizeSettings](../../com.aspose.imaging/imageresizesettings) | The resize settings. |
173-
174-
### rotateFlip(int rotateFlipType) {#rotateFlip-int-}
175-
```
176-
public void rotateFlip(int rotateFlipType)
177-
```
178-
179-
180-
Rotates, flips, or rotates and flips the image.
181-
182-
**Parameters:**
183-
| Parameter | Type | Description |
184-
| --- | --- | --- |
185-
| rotateFlipType | int | Type of rotation and flipping. |
186-
187119
### setPalette(IColorPalette palette, boolean updateColors) {#setPalette-com.aspose.imaging.IColorPalette-boolean-}
188120
```
189121
public void setPalette(IColorPalette palette, boolean updateColors)

english/java/com.aspose.imaging.fileformats.cmx/cmximage/_index.md

-46
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ The API for Corel Metafile Exchange (CMX) vector image format with metadata desc
3737
| [getPages()](#getPages--) | Retrieve the pages of the image seamlessly with this intuitive property. |
3838
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Retrieve the default options effortlessly with this user-friendly method. |
3939
| [cacheData()](#cacheData--) | Cache the data to prevent additional loading from the underlying source [DataStreamSupporter](../../com.aspose.imaging/datastreamsupporter) with this convenient method. |
40-
| [resize(int newWidth, int newHeight, int resizeType)](#resize-int-int-int-) | Effortlessly resize the image to desired dimensions with this intuitive method. |
41-
| [resize(int newWidth, int newHeight, ImageResizeSettings settings)](#resize-int-int-com.aspose.imaging.ImageResizeSettings-) | Resizes the image. |
42-
| [rotateFlip(int rotateFlipType)](#rotateFlip-int-) | Effortlessly adjust the orientation of the image by rotating, flipping, or applying both operations with this versatile method. |
4340
| [setPalette(IColorPalette palette, boolean updateColors)](#setPalette-com.aspose.imaging.IColorPalette-boolean-) | Customize the color palette of the image with this intuitive method. |
4441

4542
## Example: The following example shows how to cache all pages of a CMX image.
@@ -241,49 +238,6 @@ try {
241238
}
242239
```
243240

244-
### resize(int newWidth, int newHeight, int resizeType) {#resize-int-int-int-}
245-
```
246-
public void resize(int newWidth, int newHeight, int resizeType)
247-
```
248-
249-
250-
Effortlessly resize the image to desired dimensions with this intuitive method. Perfect for developers seeking to adjust the size of images dynamically, ensuring they fit the layout or requirements of their applications seamlessly.
251-
252-
**Parameters:**
253-
| Parameter | Type | Description |
254-
| --- | --- | --- |
255-
| newWidth | int | The new width. |
256-
| newHeight | int | The new height. |
257-
| resizeType | int | The resize type. |
258-
259-
### resize(int newWidth, int newHeight, ImageResizeSettings settings) {#resize-int-int-com.aspose.imaging.ImageResizeSettings-}
260-
```
261-
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
262-
```
263-
264-
265-
Resizes the image.
266-
267-
**Parameters:**
268-
| Parameter | Type | Description |
269-
| --- | --- | --- |
270-
| newWidth | int | The new width. |
271-
| newHeight | int | The new height. |
272-
| settings | [ImageResizeSettings](../../com.aspose.imaging/imageresizesettings) | The resize settings. |
273-
274-
### rotateFlip(int rotateFlipType) {#rotateFlip-int-}
275-
```
276-
public void rotateFlip(int rotateFlipType)
277-
```
278-
279-
280-
Effortlessly adjust the orientation of the image by rotating, flipping, or applying both operations with this versatile method. Perfect for developers seeking to customize image orientation dynamically, ensuring optimal presentation or alignment in their applications.
281-
282-
**Parameters:**
283-
| Parameter | Type | Description |
284-
| --- | --- | --- |
285-
| rotateFlipType | int | Type of the rotate flip. |
286-
287241
### setPalette(IColorPalette palette, boolean updateColors) {#setPalette-com.aspose.imaging.IColorPalette-boolean-}
288242
```
289243
public void setPalette(IColorPalette palette, boolean updateColors)

english/java/com.aspose.imaging.fileformats.cmx/cmximagepage/_index.md

+26-30
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ The image of CMX page
3232
| [isCached()](#isCached--) | Gets a value indicating whether object's data is cached currently and no data reading is required. |
3333
| [getWidthF()](#getWidthF--) | Gets the object width, in inches. |
3434
| [getHeightF()](#getHeightF--) | Gets the object height, in inches. |
35+
| [getWidth()](#getWidth--) | Gets the image width. |
36+
| [getHeight()](#getHeight--) | Gets the image height. |
3537
| [getDefaultOptions(Object[] args)](#getDefaultOptions-java.lang.Object---) | Gets the default options. |
3638
| [cacheData()](#cacheData--) | Cache can not be used. |
37-
| [resize(int newWidth, int newHeight, int resizeType)](#resize-int-int-int-) | Resizes the image. |
3839
| [resize(int newWidth, int newHeight, ImageResizeSettings settings)](#resize-int-int-com.aspose.imaging.ImageResizeSettings-) | Resizes the image. |
39-
| [rotateFlip(int rotateFlipType)](#rotateFlip-int-) | Rotates, flips, or rotates and flips the image. |
4040
| [setPalette(IColorPalette palette, boolean updateColors)](#setPalette-com.aspose.imaging.IColorPalette-boolean-) | Sets the image palette. |
4141
### CmxImagePage(CmxPage cmxPage, Image container) {#CmxImagePage-com.aspose.imaging.fileformats.cmx.objectmodel.CmxPage-com.aspose.imaging.Image-}
4242
```
@@ -127,6 +127,30 @@ Gets the object height, in inches.
127127

128128
**Returns:**
129129
float - the object height, in inches.
130+
### getWidth() {#getWidth--}
131+
```
132+
public int getWidth()
133+
```
134+
135+
136+
Gets the image width.
137+
138+
Value: The image width.
139+
140+
**Returns:**
141+
int - the image width.
142+
### getHeight() {#getHeight--}
143+
```
144+
public int getHeight()
145+
```
146+
147+
148+
Gets the image height.
149+
150+
Value: The image height.
151+
152+
**Returns:**
153+
int - the image height.
130154
### getDefaultOptions(Object[] args) {#getDefaultOptions-java.lang.Object---}
131155
```
132156
public ImageOptionsBase getDefaultOptions(Object[] args)
@@ -171,21 +195,6 @@ try {
171195
}
172196
```
173197

174-
### resize(int newWidth, int newHeight, int resizeType) {#resize-int-int-int-}
175-
```
176-
public void resize(int newWidth, int newHeight, int resizeType)
177-
```
178-
179-
180-
Resizes the image.
181-
182-
**Parameters:**
183-
| Parameter | Type | Description |
184-
| --- | --- | --- |
185-
| newWidth | int | The new width. |
186-
| newHeight | int | The new height. |
187-
| resizeType | int | The resize type. |
188-
189198
### resize(int newWidth, int newHeight, ImageResizeSettings settings) {#resize-int-int-com.aspose.imaging.ImageResizeSettings-}
190199
```
191200
public void resize(int newWidth, int newHeight, ImageResizeSettings settings)
@@ -201,19 +210,6 @@ Resizes the image.
201210
| newHeight | int | The new height. |
202211
| settings | [ImageResizeSettings](../../com.aspose.imaging/imageresizesettings) | The resize settings. |
203212

204-
### rotateFlip(int rotateFlipType) {#rotateFlip-int-}
205-
```
206-
public void rotateFlip(int rotateFlipType)
207-
```
208-
209-
210-
Rotates, flips, or rotates and flips the image.
211-
212-
**Parameters:**
213-
| Parameter | Type | Description |
214-
| --- | --- | --- |
215-
| rotateFlipType | int | Type of the rotation and flipping. |
216-
217213
### setPalette(IColorPalette palette, boolean updateColors) {#setPalette-com.aspose.imaging.IColorPalette-boolean-}
218214
```
219215
public void setPalette(IColorPalette palette, boolean updateColors)

0 commit comments

Comments
 (0)