RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ImageInstance

ImageInstance.SetLocation

Method
Description:
Moves the ImageInstance to the specified location
Syntax
public void SetLocation(
	XYZ newLocation,
	BoxPlacement placementPoint
)
Parameters
Parameter Type Description
newLocation XYZ The new location of the specified point
placementPoint BoxPlacement The placementPoint specifies which point of the ImageInstance should be placed at the given location.
Return Value
Exceptions
Exception Condition
ArgumentException The given newLocation is more than 10 miles from the origin of the model
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration