ComponentOne Web API Edition
UpdateInstancePageSettings Method

C1.Web.Api.Report Namespace > ReportController Class : UpdateInstancePageSettings Method
The full path of the report.
The report instance id.
The page settings.
Updates the specified page settings properties in the report instancce with specified instance id.
Syntax
'Declaration
 
<PathRouteAttribute(Template="{*reportPath}$instances/{instanceId}/pagesettings", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
<HttpPatchAttribute()>
Public Overridable Function UpdateInstancePageSettings( _
   ByVal reportPath As String, _
   ByVal instanceId As String, _
   ByVal pageSettings As PageSettings _
) As IHttpActionResult
[PathRoute(Template="{*reportPath}$instances/{instanceId}/pagesettings", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
[HttpPatch()]
public virtual IHttpActionResult UpdateInstancePageSettings( 
   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
Keep the current value if one property is not specified.
See Also

Reference

ReportController Class
ReportController Members