ComponentOne Web API Edition
SetInstancePageSettings Method

C1.Web.Api.Report Namespace > ReportController Class : SetInstancePageSettings Method
The full path of the report.
The report instance id.
The page settings.
Updates all page settings properties in the report instance with specified instance id.
Syntax
'Declaration
 
<HttpPutAttribute()>
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/pagesettings", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function SetInstancePageSettings( _
   ByVal reportPath As String, _
   ByVal instanceId As String, _
   ByVal pageSettings As PageSettings _
) As IHttpActionResult
[HttpPut()]
[PathRoute(Template="{*reportPath}$instances/{instanceId}/pagesettings", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
public virtual IHttpActionResult SetInstancePageSettings( 
   string reportPath,
   string instanceId,
   PageSettings pageSettings
)

Parameters

reportPath
The full path of the report.
instanceId
The report instance id.
pageSettings
The page settings.

Return Value

An System.Web.Http.IHttpActionResult type object with content of C1.Web.Api.Document.Models.PageSettings type object, for the new updated page settings.
Remarks
Use the default value if one property is not specified.
See Also

Reference

ReportController Class
ReportController Members