Method ImageProcessingResize
ImageProcessingResize(String, String, Int32, Int32)
Image processing resize
Declaration
string ImageProcessingResize(string connectionId, string fileId, int newImageWidth, int newImageHeight)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | fileId | The file id. |
System.Int32 | newImageWidth | The new image width. |
System.Int32 | newImageHeight | The new image heigh. |
Returns
Type | Description |
---|---|
System.String | The new file id. |
Examples
POST https://YourServerName/InfoShare/Json/DocumentProcessing/ImageProcessingResize
Example for image processing resize{
"connectionId": "0e2c3de4-5e90-43ed-9eec-3e1742dffacb",
"fileId": "0fd43d97-928c-494e-96c0-d357f1f975af",
"NewImageWidth": "192",
"newImageHeight": "250"
}
Response:
{
"ImageProcessingResizeResult": "0fd43d97-928c-494e-96c0-d357f1f975af"
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |