ActiveReports 9
SectionReport Class Methods

For a list of all members of this type, see SectionReport members.

Public Methods
 NameDescription
Public MethodAddCodeAdds additional valid script code to the report's scripting context.  Using AddCode allows complete functions to be added to a report's script at run time.  The added functions can be called from the report events in script.  
Public MethodAddControlLicenseAdds a license key to the report so licensed controls can be added to sections at run time by using the Controls.Add method.  
Public MethodAddNamedItemAdds an object to the script's global namespace.  This method allows scripts to become aware of custom classes contained within a project.  Once an item has been added, the script can use the objectName string to reference the object and the functions contained within the class.  
Public MethodAddScriptReferenceAdds a reference to the specified assembly to be loaded into the scripting run-time context.  
Public MethodCancelCancels the report's processing. Any rendered pages will be cleared from the report's Document object.  
Public Methodstatic (Shared in Visual Basic)CmToInchConverts value from centimeters to inches.  
Public MethodCreateObjRef

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from System.MarshalByRefObject)
Public MethodDisposeReleases the report instance from memory.  
Public MethodGetLifetimeService

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from System.MarshalByRefObject)
Public Methodstatic (Shared in Visual Basic)InchToCmConverts value from inches to centimeters.  
Public MethodLoadLayoutOverloaded. Retrieves a report XML layout (RPX) from a file, stream or resource.  
Public MethodLoadStylesOverloaded. Loads an external stylesheet to use with the report.  
Public MethodResetScriptsClears the script of any items added using the AddNamedItem method or code added using the AddCode method.  This does not affect the pre-saved report layout (RPX) file and only clears code added using the above methods.  
Public MethodResetWatermarkResets the watermark to its default value.  
Public MethodRestartResets the report data source and clears the pages collection.  
Public MethodRunOverloaded. Starts the report processing.  
Public MethodSaveLayoutOverloaded. Saves a report's XML layout to a stream or file.  
Public MethodSaveStylesOverloaded. Saves a reports styles to an external stylesheet.  
Public MethodSetLicense  
Public MethodStopStops processing the report.  
Top
See Also

Reference

SectionReport Class
GrapeCity.ActiveReports Namespace

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum