GdPicture.NET.14.WEB.DocuVieware
GdPicture14.WEB Namespace / DocuViewareControl Class / DeferredStyles Method
The System.IO.TextWriter object that receives the styles content.
Specifies if the scripts has to be rendered wrapped by '<style>' tag or not (default value set to true).
Specify whether the CSS file (docuvieware-min.css) should be included. Multiple inclusions would result in an unnecessary increase of the rendered page size. (default value set to false)

In This Topic
DeferredStyles Method (DocuViewareControl)
In This Topic
Outputs the styles content of the DocuVieware control instance to the provided TextWriter instance.
Syntax
'Declaration
 
Public Sub DeferredStyles( _
   ByVal TextWriter As TextWriter, _
   Optional ByVal IncludeTag As Boolean, _
   Optional ByVal IncludeResource As Boolean _
) 
public void DeferredStyles( 
   TextWriter TextWriter,
   bool IncludeTag,
   bool IncludeResource
)

Parameters

TextWriter
The System.IO.TextWriter object that receives the styles content.
IncludeTag
Specifies if the scripts has to be rendered wrapped by '<style>' tag or not (default value set to true).
IncludeResource
Specify whether the CSS file (docuvieware-min.css) should be included. Multiple inclusions would result in an unnecessary increase of the rendered page size. (default value set to false)
Remarks
This method can be called only if the DocuViewareControl.RenderControl method is called with renderStyles set to true.
If you enabled CSP policy you should call DocuViewareControl.DeferredStyles before DocuViewareControl.DeferredScripts
See Also