public static final class ThumbnailsGetElementThumbnailWithSizeRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
ThumbnailsGetElementThumbnailWithSizeResponse |
call(OnshapeDocument document,
String sz,
Boolean rejectEmpty) |
Calls getElementThumbnailWithSize method, Return thumbnail for element, with specified size in pixels
|
ThumbnailsGetElementThumbnailWithSizeResponse |
call(String sz,
String did,
String wid,
String eid,
Boolean rejectEmpty) |
Calls getElementThumbnailWithSize method, Return thumbnail for element, with specified size in pixels
|
public final ThumbnailsGetElementThumbnailWithSizeResponse call(String sz, String did, String wid, String eid, Boolean rejectEmpty) throws OnshapeException
sz - Requested thumbnail size, such as 300x300did - Document IDwid - Workspace IDeid - Element IDrejectEmpty - If true, a 404 will be returned for thumbnails that are made for empty elements. Clients can use this parameter to skip the display of empty thumbnails and display a default icon instead. Defaults to false. (Default: null)OnshapeException - On HTTP or serialization errorpublic final ThumbnailsGetElementThumbnailWithSizeResponse call(OnshapeDocument document, String sz, Boolean rejectEmpty) throws OnshapeException
document - Document object from Onshape URL.sz - Requested thumbnail size, such as 300x300rejectEmpty - If true, a 404 will be returned for thumbnails that are made for empty elements. Clients can use this parameter to skip the display of empty thumbnails and display a default icon instead. Defaults to false. (Default: null)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.