The Find Straight Edge method is located in the CWMachineVision object and documentation on it can be found in the IMAQ Vision for Visual Basic function reference manual, which installs with Vision. The method's abstract is:
CWMachineVision.FindStraightEdge (SourceImage, SearchRotatedRectangle, ScanDirection, FindStraightEdgeReport, CommonEdgeOptions, CoordinateTransformation)
The manaul also gives some example code on how to use this method.
Kyle V
Applications Engineer
National Instruments