Web API Core | ComponentOne
C1.Web.Api.Report Namespace / ReportController Class / SetInstancePageSettings Method
The full path of the report.
The report instance id.
The page settings.

In This Topic
    SetInstancePageSettings Method
    In This Topic
    Updates all page settings properties in the report instance with specified instance id.
    Syntax
    'Declaration
     
    
    <HttpPutAttribute()>
    <PathRouteAttribute("{*reportPath}$instances/{instanceId}/pagesettings")>
    Public Overridable Function SetInstancePageSettings( _
       ByVal reportPath As String, _
       ByVal instanceId As String, _
       ByVal pageSettings As PageSettings _
    ) As IActionResult
    [HttpPut()]
    [PathRoute("{*reportPath}$instances/{instanceId}/pagesettings")]
    public virtual IActionResult 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 Microsoft.AspNetCore.Mvc.IActionResult 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