GET api/Download/GetPDFSettings

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ObjResultOfPDFExportSettings
NameDescriptionTypeAdditional information
Data

PDFExportSettings

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "marginsLeft": 1.1,
    "marginsTop": 2.1,
    "marginsRight": 3.1,
    "pageSize": "6.1, 7.1",
    "marginsBottom": 4.1,
    "itemsBorder": 5.1,
    "pageWidth": 6.1,
    "pageHeight": 7.1,
    "columns": 8,
    "showBorder": true,
    "rows": 10,
    "captions": [
      [
        "257d53ed-5acb-416b-8d9b-4ac4ca911c20",
        "569359d8-4ae3-43aa-8d01-45be6c23834e"
      ],
      [
        "a11f36ee-d275-4579-88d9-0433498e9e3e",
        "3cbdcdcd-2305-417d-a087-68a5fc8ab524"
      ]
    ],
    "captionsBorder": 11.1,
    "font": null,
    "fontName": "sample string 12",
    "fontStyle": 0,
    "captionEnables": [
      true,
      true
    ],
    "captionLines": [
      1,
      2
    ],
    "fontSize": 13.1
  },
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfPDFExportSettingsDYwBGR7l xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>3</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 1</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PicaJet.Daminion.ClientCommon">
    <d2p1:_font xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Drawing" i:nil="true" />
    <d2p1:_x003C_CaptionEnables_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:boolean>true</d3p1:boolean>
      <d3p1:boolean>true</d3p1:boolean>
    </d2p1:_x003C_CaptionEnables_x003E_k__BackingField>
    <d2p1:_x003C_CaptionLines_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:_x003C_CaptionLines_x003E_k__BackingField>
    <d2p1:_x003C_CaptionsBorder_x003E_k__BackingField>11.1</d2p1:_x003C_CaptionsBorder_x003E_k__BackingField>
    <d2p1:_x003C_Captions_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:ArrayOfguid>
        <d3p1:guid>257d53ed-5acb-416b-8d9b-4ac4ca911c20</d3p1:guid>
        <d3p1:guid>569359d8-4ae3-43aa-8d01-45be6c23834e</d3p1:guid>
      </d3p1:ArrayOfguid>
      <d3p1:ArrayOfguid>
        <d3p1:guid>a11f36ee-d275-4579-88d9-0433498e9e3e</d3p1:guid>
        <d3p1:guid>3cbdcdcd-2305-417d-a087-68a5fc8ab524</d3p1:guid>
      </d3p1:ArrayOfguid>
    </d2p1:_x003C_Captions_x003E_k__BackingField>
    <d2p1:_x003C_Columns_x003E_k__BackingField>8</d2p1:_x003C_Columns_x003E_k__BackingField>
    <d2p1:_x003C_FontName_x003E_k__BackingField>sample string 12</d2p1:_x003C_FontName_x003E_k__BackingField>
    <d2p1:_x003C_FontSize_x003E_k__BackingField>13.1</d2p1:_x003C_FontSize_x003E_k__BackingField>
    <d2p1:_x003C_FontStyle_x003E_k__BackingField>Regular</d2p1:_x003C_FontStyle_x003E_k__BackingField>
    <d2p1:_x003C_ItemsBorder_x003E_k__BackingField>5.1</d2p1:_x003C_ItemsBorder_x003E_k__BackingField>
    <d2p1:_x003C_MarginsBottom_x003E_k__BackingField>4.1</d2p1:_x003C_MarginsBottom_x003E_k__BackingField>
    <d2p1:_x003C_MarginsLeft_x003E_k__BackingField>1.1</d2p1:_x003C_MarginsLeft_x003E_k__BackingField>
    <d2p1:_x003C_MarginsRight_x003E_k__BackingField>3.1</d2p1:_x003C_MarginsRight_x003E_k__BackingField>
    <d2p1:_x003C_MarginsTop_x003E_k__BackingField>2.1</d2p1:_x003C_MarginsTop_x003E_k__BackingField>
    <d2p1:_x003C_PageHeight_x003E_k__BackingField>7.1</d2p1:_x003C_PageHeight_x003E_k__BackingField>
    <d2p1:_x003C_PageWidth_x003E_k__BackingField>6.1</d2p1:_x003C_PageWidth_x003E_k__BackingField>
    <d2p1:_x003C_Rows_x003E_k__BackingField>10</d2p1:_x003C_Rows_x003E_k__BackingField>
    <d2p1:_x003C_ShowBorder_x003E_k__BackingField>true</d2p1:_x003C_ShowBorder_x003E_k__BackingField>
  </Data>
</ObjResultOfPDFExportSettingsDYwBGR7l>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}