public class CadApi extends Object
Modifier and Type | Field and Description |
---|---|
static String |
Version
Current SDK version
|
Constructor and Description |
---|
CadApi(String appKey,
String appSid)
Initializes a new instance of the CadApi class.
|
CadApi(String appKey,
String appSid,
String baseUrl)
Initializes a new instance of the CadApi class.
|
CadApi(String appKey,
String appSid,
String baseUrl,
String apiVersion)
Initializes a new instance of the CadApi class.
|
CadApi(String appKey,
String appSid,
String baseUrl,
String apiVersion,
AuthType authType,
Boolean debug)
Initializes a new instance of the CadApi class.
|
CadApi(String appKey,
String appSid,
String baseUrl,
String apiVersion,
Boolean debug)
Initializes a new instance of the CadApi class.
|
Modifier and Type | Method and Description |
---|---|
ApiResponse |
getChangeImageScale(GetChangeImageScaleRequest request)
Change scale of an existing image
|
ApiResponse |
getImageProperties(GetImagePropertiesRequest request)
Get properties of an image.
|
ApiResponse |
getImageRotateFlip(GetImageRotateFlipRequest request)
Rotate and flip existing image
|
ApiResponse |
getImageSaveAs(GetImageSaveAsRequest request)
Export existing image to another format
|
ApiResponse |
postChangeImageScale(PostChangeImageScaleRequest request)
Change scale of an image from body
|
ApiResponse |
postImageRotateFlip(PostImageRotateFlipRequest request)
Rotate and flip existing image and get it from response.
|
ApiResponse |
postImageSaveAs(PostImageSaveAsRequest request)
Export existing image to another format.
|
public static final String Version
public CadApi(String appKey, String appSid)
appKey
- The app key.appSid
- The app SID.public CadApi(String appKey, String appSid, String baseUrl)
appKey
- The app key.appSid
- The app SID.baseUrl
- The base URL.public CadApi(String appKey, String appSid, String baseUrl, String apiVersion)
appKey
- The app key.appSid
- The app SID.baseUrl
- The base URL.apiVersion
- API version.public CadApi(String appKey, String appSid, String baseUrl, String apiVersion, Boolean debug)
appKey
- The app key.appSid
- The app SID.baseUrl
- The base URL.apiVersion
- API version.debug
- If debug mode is enabled.public CadApi(String appKey, String appSid, String baseUrl, String apiVersion, AuthType authType, Boolean debug)
appKey
- The app key.appSid
- The app SID.baseUrl
- The base URL.apiVersion
- API version.authType
- Authentication type.debug
- If debug mode is enabled.public ApiResponse getChangeImageScale(GetChangeImageScaleRequest request) throws Exception
request
- Holds parameters for this request invocation.Exception
public ApiResponse getImageProperties(GetImagePropertiesRequest request) throws Exception
request
- Holds parameters for this request invocation.Exception
public ApiResponse getImageRotateFlip(GetImageRotateFlipRequest request) throws Exception
request
- Holds parameters for this request invocation.Exception
public ApiResponse getImageSaveAs(GetImageSaveAsRequest request) throws Exception
request
- Holds parameters for this request invocation.Exception
public ApiResponse postChangeImageScale(PostChangeImageScaleRequest request) throws Exception
request
- Holds parameters for this request invocation.Exception
public ApiResponse postImageRotateFlip(PostImageRotateFlipRequest request) throws Exception
request
- Holds parameters for this request invocation.Exception
public ApiResponse postImageSaveAs(PostImageSaveAsRequest request) throws Exception
request
- Holds parameters for this request invocation.Exception
Copyright © 2019 Aspose Pty Ltd. All rights reserved.