ReRead Method (SchematicSheetDocument Object)

Scope: Schematic editor

Object: SchematicSheetDocument Object

Prerequisites: None

Causes the specified page of the current document to be reread from disk.

Usage

SchematicSheetDocument.ReRead(ByVal SheetName As String) As Boolean

Arguments

SheetName

Name of the sheet from which to read.

Return Values

As Boolean. The return type for this method. True - Indicates that the page was read. False - Indicates that the page could not be read.

Description

ReRead loads the specified page of the current document from disk. This method throws away any current changes that have not been saved. All objects that are owned by this document, like the views, should be released prior to using this method.

This method returns True if it is successful. The most likely failure is caused by Automation programmers that do not check for the existence of the specified page prior to trying to load it.