Class Page
Gets information about specific page.
Inheritance
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class Page : IRelationsWithProxy
Constructors
Page()
Creates a new instance of this class
Declaration
public Page()
Properties
AnnotationAsSvgRelationLink
Gets the Uri of the link for the relation “annotationAsSvg”.
Declaration
public string AnnotationAsSvgRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “annotationAsSvg” if it exists, or
AnnotationAsXamlRelationLink
Gets the Uri of the link for the relation “annotationAsXaml”.
Declaration
public string AnnotationAsXamlRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “annotationAsXaml” if it exists, or
AnnotationRelationLink
Gets the Uri of the link for the relation “annotation”.
Declaration
public string AnnotationRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “annotation” if it exists, or
Data
Declaration
public PageData Data { get; set; }
Property Value
Type | Description |
---|---|
PageData |
DeepZoomImageRelationLink
Gets the Uri of the link for the relation “deepZoomImage”.
Declaration
public string DeepZoomImageRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “deepZoomImage” if it exists, or
DeepZoomImageWithAnnotationRelationLink
Gets the Uri of the link for the relation “deepZoomImageWithAnnotation”.
Declaration
public string DeepZoomImageWithAnnotationRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “deepZoomImageWithAnnotation” if it exists, or
FileDownloadRelationLink
Gets the Uri of the link for the relation “fileDownload”.
Declaration
public string FileDownloadRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “fileDownload” if it exists, or
HasAnnotation
True if the page contains at least one annotation.
Declaration
public bool HasAnnotation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IconRelationLink
Gets the Uri of the link for the relation “icon”.
Declaration
public string IconRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “icon” if it exists, or
Links
Declaration
public Link[] Links { get; set; }
Property Value
Type | Description |
---|---|
Link[] |
LowQualityImageRelationLink
Gets the Uri of the link for the relation “lowQualityImage”.
Declaration
public string LowQualityImageRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “lowQualityImage” if it exists, or
LowQualityImageWithAnnotationRelationLink
Gets the Uri of the link for the relation “lowQualityImageWithAnnotation”.
Declaration
public string LowQualityImageWithAnnotationRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “lowQualityImageWithAnnotation” if it exists, or
PageNum
Zero based page number.
Declaration
public int PageNum { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SelfRelationLink
Gets the Uri of the link for the relation “self”.
Declaration
public string SelfRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “self” if it exists, or
StampBestPositionRelationLink
Gets the Uri of the link for the relation “stampBestPosition”.
Declaration
public string StampBestPositionRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “stampBestPosition” if it exists, or
StampRelationLink
Gets the Uri of the link for the relation “stamp”.
Declaration
public string StampRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “stamp” if it exists, or
TextshotRelationLink
Gets the Uri of the link for the relation “textshot”.
Declaration
public string TextshotRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “textshot” if it exists, or
ThumbnailRelationLink
Gets the Uri of the link for the relation “thumbnail”.
Declaration
public string ThumbnailRelationLink { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Returns the uri of the link for the relation “thumbnail” if it exists, or
Methods
GetAnnotationFromAnnotationRelation()
Calls the HTTP Get method on the link for the relation “annotation”.
Declaration
public Annotation GetAnnotationFromAnnotationRelation()
Returns
Type | Description |
---|---|
Annotation | The content of the response. |
GetAnnotationFromAnnotationRelationAsync()
Calls the HTTP Get method on the link for the relation “annotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> GetAnnotationFromAnnotationRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotation”.
GetAnnotationFromAnnotationRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “annotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> GetAnnotationFromAnnotationRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotation”.
GetPageContentFromTextshotRelation()
Calls the HTTP Get method on the link for the relation “textshot”.
Declaration
public PageContent GetPageContentFromTextshotRelation()
Returns
Type | Description |
---|---|
PageContent | The content of the response. |
GetPageContentFromTextshotRelationAsync()
Calls the HTTP Get method on the link for the relation “textshot” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<PageContent>> GetPageContentFromTextshotRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<PageContent>> | A task which runs the request. |
Remarks
This method follows the link for the relation “textshot”.
GetPageContentFromTextshotRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “textshot” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<PageContent>> GetPageContentFromTextshotRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<PageContent>> | A task which runs the request. |
Remarks
This method follows the link for the relation “textshot”.
GetPageFromSelfRelation()
Calls the HTTP Get method on the link for the relation “self”.
Declaration
public Page GetPageFromSelfRelation()
Returns
Type | Description |
---|---|
Page | The content of the response. |
GetPageFromSelfRelationAsync()
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Page>> GetPageFromSelfRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Page>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetPageFromSelfRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Page>> GetPageFromSelfRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Page>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetStreamFromAnnotationAsSvgRelation()
Calls the HTTP Get method on the link for the relation “annotationAsSvg”.
Declaration
public System.IO.Stream GetStreamFromAnnotationAsSvgRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromAnnotationAsSvgRelationAsync()
Calls the HTTP Get method on the link for the relation “annotationAsSvg” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromAnnotationAsSvgRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotationAsSvg”.
GetStreamFromAnnotationAsSvgRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “annotationAsSvg” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromAnnotationAsSvgRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotationAsSvg”.
GetStreamFromDeepZoomImageRelation()
Calls the HTTP Get method on the link for the relation “deepZoomImage”.
Declaration
public System.IO.Stream GetStreamFromDeepZoomImageRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromDeepZoomImageRelationAsync()
Calls the HTTP Get method on the link for the relation “deepZoomImage” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromDeepZoomImageRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “deepZoomImage”.
GetStreamFromDeepZoomImageRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “deepZoomImage” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromDeepZoomImageRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “deepZoomImage”.
GetStreamFromDeepZoomImageWithAnnotationRelation()
Calls the HTTP Get method on the link for the relation “deepZoomImageWithAnnotation”.
Declaration
public System.IO.Stream GetStreamFromDeepZoomImageWithAnnotationRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromDeepZoomImageWithAnnotationRelationAsync()
Calls the HTTP Get method on the link for the relation “deepZoomImageWithAnnotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromDeepZoomImageWithAnnotationRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “deepZoomImageWithAnnotation”.
GetStreamFromDeepZoomImageWithAnnotationRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “deepZoomImageWithAnnotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromDeepZoomImageWithAnnotationRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “deepZoomImageWithAnnotation”.
GetStreamFromFileDownloadRelation()
Calls the HTTP Get method on the link for the relation “fileDownload”.
Declaration
public System.IO.Stream GetStreamFromFileDownloadRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromFileDownloadRelationAsync()
Calls the HTTP Get method on the link for the relation “fileDownload” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromFileDownloadRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “fileDownload”.
GetStreamFromFileDownloadRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “fileDownload” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromFileDownloadRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “fileDownload”.
GetStreamFromIconRelation()
Calls the HTTP Get method on the link for the relation “icon”.
Declaration
public System.IO.Stream GetStreamFromIconRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromIconRelationAsync()
Calls the HTTP Get method on the link for the relation “icon” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromIconRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “icon”.
GetStreamFromIconRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “icon” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromIconRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “icon”.
GetStreamFromLowQualityImageRelation()
Calls the HTTP Get method on the link for the relation “lowQualityImage”.
Declaration
public System.IO.Stream GetStreamFromLowQualityImageRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromLowQualityImageRelationAsync()
Calls the HTTP Get method on the link for the relation “lowQualityImage” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromLowQualityImageRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “lowQualityImage”.
GetStreamFromLowQualityImageRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “lowQualityImage” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromLowQualityImageRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “lowQualityImage”.
GetStreamFromLowQualityImageWithAnnotationRelation()
Calls the HTTP Get method on the link for the relation “lowQualityImageWithAnnotation”.
Declaration
public System.IO.Stream GetStreamFromLowQualityImageWithAnnotationRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromLowQualityImageWithAnnotationRelationAsync()
Calls the HTTP Get method on the link for the relation “lowQualityImageWithAnnotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromLowQualityImageWithAnnotationRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “lowQualityImageWithAnnotation”.
GetStreamFromLowQualityImageWithAnnotationRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “lowQualityImageWithAnnotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromLowQualityImageWithAnnotationRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “lowQualityImageWithAnnotation”.
GetStreamFromThumbnailRelation()
Calls the HTTP Get method on the link for the relation “thumbnail”.
Declaration
public System.IO.Stream GetStreamFromThumbnailRelation()
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
GetStreamFromThumbnailRelationAsync()
Calls the HTTP Get method on the link for the relation “thumbnail” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromThumbnailRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “thumbnail”.
GetStreamFromThumbnailRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “thumbnail” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> GetStreamFromThumbnailRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “thumbnail”.
GetXElementWrapperFromAnnotationAsXamlRelation()
Calls the HTTP Get method on the link for the relation “annotationAsXaml”.
Declaration
public XElementWrapper GetXElementWrapperFromAnnotationAsXamlRelation()
Returns
Type | Description |
---|---|
XElementWrapper | The content of the response. |
GetXElementWrapperFromAnnotationAsXamlRelationAsync()
Calls the HTTP Get method on the link for the relation “annotationAsXaml” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<XElementWrapper>> GetXElementWrapperFromAnnotationAsXamlRelationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<XElementWrapper>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotationAsXaml”.
GetXElementWrapperFromAnnotationAsXamlRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “annotationAsXaml” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<XElementWrapper>> GetXElementWrapperFromAnnotationAsXamlRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<XElementWrapper>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotationAsXaml”.
PostToAnnotationRelationForAnnotation(Annotation)
Calls the HTTP Post method on the link for the relation “annotation”.
Declaration
public Annotation PostToAnnotationRelationForAnnotation(Annotation dataToSend)
Parameters
Type | Name | Description |
---|---|---|
Annotation | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
Annotation | The content of the response. |
PostToAnnotationRelationForAnnotation(AnnotationsPlacement)
Calls the HTTP Post method on the link for the relation “annotation”.
Declaration
public Annotation PostToAnnotationRelationForAnnotation(AnnotationsPlacement dataToSend)
Parameters
Type | Name | Description |
---|---|---|
AnnotationsPlacement | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
Annotation | The content of the response. |
PostToAnnotationRelationForAnnotationAsync(Annotation)
Calls the HTTP Post method on the link for the relation “annotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> PostToAnnotationRelationForAnnotationAsync(Annotation dataToSend)
Parameters
Type | Name | Description |
---|---|---|
Annotation | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotation”.
PostToAnnotationRelationForAnnotationAsync(AnnotationsPlacement)
Calls the HTTP Post method on the link for the relation “annotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> PostToAnnotationRelationForAnnotationAsync(AnnotationsPlacement dataToSend)
Parameters
Type | Name | Description |
---|---|---|
AnnotationsPlacement | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotation”.
PostToAnnotationRelationForAnnotationAsync(System.Threading.CancellationToken, Annotation)
Calls the HTTP Post method on the link for the relation “annotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> PostToAnnotationRelationForAnnotationAsync(System.Threading.CancellationToken cancellationToken, Annotation dataToSend)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Annotation | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotation”.
PostToAnnotationRelationForAnnotationAsync(System.Threading.CancellationToken, AnnotationsPlacement)
Calls the HTTP Post method on the link for the relation “annotation” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> PostToAnnotationRelationForAnnotationAsync(System.Threading.CancellationToken cancellationToken, AnnotationsPlacement dataToSend)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
AnnotationsPlacement | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “annotation”.
PostToFileDownloadRelationForStream(FileDownloadPage)
Calls the HTTP Post method on the link for the relation “fileDownload”.
Declaration
public System.IO.Stream PostToFileDownloadRelationForStream(FileDownloadPage dataToSend)
Parameters
Type | Name | Description |
---|---|---|
FileDownloadPage | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.IO.Stream | The content of the response. |
PostToFileDownloadRelationForStreamAsync(FileDownloadPage)
Calls the HTTP Post method on the link for the relation “fileDownload” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> PostToFileDownloadRelationForStreamAsync(FileDownloadPage dataToSend)
Parameters
Type | Name | Description |
---|---|---|
FileDownloadPage | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “fileDownload”.
PostToFileDownloadRelationForStreamAsync(System.Threading.CancellationToken, FileDownloadPage)
Calls the HTTP Post method on the link for the relation “fileDownload” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> PostToFileDownloadRelationForStreamAsync(System.Threading.CancellationToken cancellationToken, FileDownloadPage dataToSend)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
FileDownloadPage | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<System.IO.Stream>> | A task which runs the request. |
Remarks
This method follows the link for the relation “fileDownload”.
PostToStampBestPositionRelationForDWPoint(StampFormFieldValues)
Calls the HTTP Post method on the link for the relation “stampBestPosition”.
Declaration
public DWPoint PostToStampBestPositionRelationForDWPoint(StampFormFieldValues dataToSend)
Parameters
Type | Name | Description |
---|---|---|
StampFormFieldValues | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
DWPoint | The content of the response. |
PostToStampBestPositionRelationForDWPointAsync(StampFormFieldValues)
Calls the HTTP Post method on the link for the relation “stampBestPosition” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<DWPoint>> PostToStampBestPositionRelationForDWPointAsync(StampFormFieldValues dataToSend)
Parameters
Type | Name | Description |
---|---|---|
StampFormFieldValues | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<DWPoint>> | A task which runs the request. |
Remarks
This method follows the link for the relation “stampBestPosition”.
PostToStampBestPositionRelationForDWPointAsync(System.Threading.CancellationToken, StampFormFieldValues)
Calls the HTTP Post method on the link for the relation “stampBestPosition” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<DWPoint>> PostToStampBestPositionRelationForDWPointAsync(System.Threading.CancellationToken cancellationToken, StampFormFieldValues dataToSend)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
StampFormFieldValues | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<DWPoint>> | A task which runs the request. |
Remarks
This method follows the link for the relation “stampBestPosition”.
PostToStampRelationForAnnotation(StampPlacement)
Calls the HTTP Post method on the link for the relation “stamp”.
Declaration
public Annotation PostToStampRelationForAnnotation(StampPlacement dataToSend)
Parameters
Type | Name | Description |
---|---|---|
StampPlacement | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
Annotation | The content of the response. |
PostToStampRelationForAnnotationAsync(StampPlacement)
Calls the HTTP Post method on the link for the relation “stamp” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> PostToStampRelationForAnnotationAsync(StampPlacement dataToSend)
Parameters
Type | Name | Description |
---|---|---|
StampPlacement | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “stamp”.
PostToStampRelationForAnnotationAsync(System.Threading.CancellationToken, StampPlacement)
Calls the HTTP Post method on the link for the relation “stamp” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> PostToStampRelationForAnnotationAsync(System.Threading.CancellationToken cancellationToken, StampPlacement dataToSend)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
StampPlacement | dataToSend | The data to send. This data is written into the request body. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DeserializedHttpResponse<Annotation>> | A task which runs the request. |
Remarks
This method follows the link for the relation “stamp”.
SetProxy(HttpClientProxy)
Sets the HTTP communication proxy which is used in further HTTP communication.
Declaration
public void SetProxy(HttpClientProxy proxy)
Parameters
Type | Name | Description |
---|---|---|
HttpClientProxy | proxy | The |
Remarks
The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.