Several ways to do it.
(Dave R got there first as usual!)
-
As he says.
-
Draw a rectangle the length and width of one side of the frame. Draw a 45 degree line with the line tool at each end. Push pull to thickness. Make into a component. Rotate or mirror to other side. Repeat for top and bottom.
-
Draw the picture frame profile on the X-Y plane. Draw a rectangle the overall size of the frame. Select the rectangle. Choose FollowMe tool, then click on the face that is the profile. That will create the frame in one go with 45 degree mitres.